pub mod core;
pub mod std_;

use std::env;
use crate::core::entrance;

/// 版本号
const VERSION: &str = "0.0.1";
const AUTHOR: &str = "Squbirreland";

/// 程序入口
#[async_std::main]
async fn main() {
    println!("

    yuzu language 🌸
        --v{} 🍣

    the faster script language base on rust 🚀
        by:{} 🤗

    ", VERSION, AUTHOR);
    // 获取命令行并删除第一个冗余字段
    let mut args: Vec<String> = env::args().collect();
    args.remove(0);
    // 传入run方法并执行
    entrance::start(args);
    // 正常结束时的语句
    println!("

    yuzu is tired 🤭
        see u next time ~ 🌸
    ");
}
